package com.yeyks.consumer.param.UserInfo;

import com.yeyks.common.param.PageParam;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author: dagny
 * @date: 2019/12/2 0002 9:28
 */
@ApiModel(description = "根据父类Id查询用户列表")
@Data
public class UserInfoQueryByParentIdParam extends PageParam implements Serializable {
    private static final long serialVersionUID = -2712792178121968490L;

    @ApiModelProperty("有效token")
    @NotNull(message = "签名不能为空")
    private String token;

    @ApiModelProperty("传入该账号ID")
    private Integer parentId;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty(value = "邀请的活动类型，1:0元邀请 2:创客邀请 3:周杰伦活动用户 4:双旦活动 " +
            "传参表示不包含某个类型，不传代表查询所有类型的关系")
    private Integer notInType;
}
